package com.neusoft.service;

import com.neusoft.domain.Employee;
import com.neusoft.domain.ResultPage;

public interface EmployeeService {
    /**
     * 分页带条件查询员工信息
     * @param page
     * @param pageSize
     * @param account
     * @param nickname
     * @param telephone
     * @return
     */
    ResultPage<Employee> findEmployeeByPage(Integer page, Integer pageSize, String account, String nickname, String telephone);

    /**
     * 新增员工
     * @param employee
     */
    void saveEmployee(Employee employee);

    void updateEmployee(Employee employee);

    void updateEmployeeStatus(Employee employee);
}
